<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<title>input类型</title>
</head>

<body>
	<form>
		<label>color：</label><input type="color" /><br />
		<label>email：<input type="email" /></label><br />
		<label>search：</label><input type="search" /><br />
		<!--number、range都可以规定数值的输入域，min规定允许的最小值，max规定允许的最大值-->
		<label>number：</label><input type="number" min="1" max="10" /><br />
		<label>range：</label><input type="range" min="1" max="5" /><br />
		<label>URL：</label><input type="url" /><br />
		<label>week：</label><input type="week" /><br />
		<label>month：</label><input type="month" /><br />
		<label>time：</label><input type="time" /><br />
		<label>date：</label><input type="date" /><br />
		<label>datetime：</label><input type="datetime" /><br />
		<label>datetime-local：</label><input type="datetime-local" /><br />
	</form>
</body>

</html>